// coding: utf-8
// @Author : lryself
// @Date : 2020/10/28 10:13
// @Software: GoLand

package main

func main() {
	
}
func uniqueOccurrences(arr []int) bool {
	int_map:=make(map[int]int)
	for _,value:=range arr{
		int_map[value]++
	}
	for key,value := range int_map{
		for key1,value1 := range int_map{
			if value==value1 && key!=key1{
				return false
			}
		}
	}
	return true
}